package com.shopx.cm.dao.db1;

import com.shopx.cm.bean.CmBrandCk;
import com.shopx.cm.model.CmBrandCkModel;
import com.shopx.dal.mysql.SqlMapper;

import java.util.List;

/**
 * TODO
 *
 * @author lituo
 * @className: CmBrandCk
 * @date 2025-02-21
 */
@SqlMapper
public interface CmBrandCkDao {
    /**
     * 查询明细记录
     *
     * @param cmBrandCk
     * @return CmBrandCkModel
     * @author lituo
     * @date 2025-02-21
     */
    CmBrandCkModel selectByPrimaryKey(CmBrandCk cmBrandCk);

    /**
     * 新增记录
     *
     * @param cmBrandCk
     * @return int
     * @author lituo
     * @date 2025-02-21
     */
    int insertSelective(CmBrandCk cmBrandCk);

    /**
     * 修改记录
     *
     * @param cmBrandCk
     * @return int
     * @author lituo
     * @date 2025-02-21
     */
    int updateByPrimaryKeySelective(CmBrandCk cmBrandCk);

    /**
     * 删除记录
     *
     * @param cmBrandCk
     * @return int
     * @author lituo
     * @date 2025-02-21
     */
    int deleteByPrimaryKey(CmBrandCk cmBrandCk);

    /**
     * 查询总记录数
     *
     * @param cmBrandCk
     * @return int
     * @author lituo
     * @date 2025-02-21
     */
    int selectCount(CmBrandCkModel cmBrandCk);

    /**
     * 查询列表
     *
     * @param cmBrandCk
     * @return List<CmBrandCkModel>
     * @author lituo
     * @date 2025-02-21
     */
    List<CmBrandCkModel> selectList(CmBrandCkModel cmBrandCk);
}

